/*
 * XQueryEditorKit.java
 */

package xq.swing.text;

import javax.swing.text.Document;
import javax.swing.text.StyledEditorKit;

/**
 *
 * @author ThorntonRP
 */
public class XQueryEditorKit extends StyledEditorKit {

	private static final long serialVersionUID = -5445672507093865628L;
	
	public static final String XQUERY_CONTENT_TYPE = "text/xquery";

	@Override
	public String getContentType() {
		return  XQUERY_CONTENT_TYPE;
	}

	@Override
	public Document createDefaultDocument() {
		return new OldXQueryDocument();
	}
}
